package com.kinghood.productcenter.common.model.dto.product;

import com.kinghood.productcenter.common.model.vo.product.SearchSettingVO;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * description
 *
 * @author zhangFanJun
 * @date 2024-01-15 14:13
 **/
@Data
public class UserSearchSettingReqDTO implements Serializable {

    /**
     * 前端页面唯一标识
     */
    @NotNull(message = "businessCode不能为空")
    private String businessCode;
    /**
     * 业务类型：0：款式搜索，1，款式展示，2：sku搜索，3，sku展示
     */
    @NotNull(message = "businessType不能为空")
    private Integer businessType;

    private List<SearchSettingVO> codeList;
}
